package org.sf.comp.tagging;

/**
 * Generic class to represent a document being tagged.
 *
 */
public class Document {
	private final int id;
	private final String text;

	public Document(int id, String text) {
		super();
		this.id = id;
		this.text = text;
	}

	public int getId() {
		return id;
	}

	public String getText() {
		return text;
	}

	@Override
	public String toString() {
		return "Document [id=" + id + ", text=" + text + "]";
	}
	
}
